package org.broadway.interfaces;

import org.broadway.exceptions.ScanException;

/**
 * This interface represents a component that is able to scan
 * a collection of resources.  Implement this class when building components 
 * that to traverse a collection of objects.
 * @author vmatters
 *
 */
public interface Scanner {
	/***
	 * The scanner's scan method is designed to traverse all objects to be
	 * observed during a scan sweep. This method should throw the non-checked
	 * ScanException if anything goes wrong during a scan sweep.
	 * @throws ScanException
	 */
	public void scan() throws ScanException;
}
